package org.dreamwork.android.websocket;

/**
 * Created by game on 2017/3/6
 */
public interface IWebSocketListener {
    void onOpen ();
    void onMessageReceived (String raw);
    void onMessageReceived (byte[] buff);
    void onClose ();
    void onError (Throwable error);
}